﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Wixa.Models.Base_Manage
{
    /// <summary>
    /// Menus
    /// </summary>
    [Table("Menus")]
    public class Menus
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// CreateTime
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// CreatorId
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// Deleted
        /// </summary>
        public Boolean Deleted { get; set; }

        /// <summary>
        /// ParentId
        /// </summary>
        public String ParentId { get; set; }

        /// <summary>
        /// Type
        /// </summary>
        public Int32 Type { get; set; }

        /// <summary>
        /// Name
        /// </summary>
        public String Name { get; set; }

        /// <summary>
        /// Path
        /// </summary>
        public String Path { get; set; }

        /// <summary>
        /// Redirect
        /// </summary>
        public String Redirect { get; set; }

        /// <summary>
        /// Component
        /// </summary>
        public String Component { get; set; }

        /// <summary>
        /// AlwaysShow
        /// </summary>
        public Boolean? AlwaysShow { get; set; }

        /// <summary>
        /// Hidden
        /// </summary>
        public Boolean? Hidden { get; set; }

        /// <summary>
        /// MenuHidden
        /// </summary>
        public Boolean? MenuHidden { get; set; }

        /// <summary>
        /// Title
        /// </summary>
        public String Title { get; set; }

        /// <summary>
        /// Icon
        /// </summary>
        public String Icon { get; set; }

        /// <summary>
        /// IsCustomSvg
        /// </summary>
        public Boolean? IsCustomSvg { get; set; }

        /// <summary>
        /// NoKeepAlive
        /// </summary>
        public Boolean? NoKeepAlive { get; set; }

        /// <summary>
        /// Affix
        /// </summary>
        public Boolean? Affix { get; set; }

        /// <summary>
        /// Badge
        /// </summary>
        public String Badge { get; set; }

        /// <summary>
        /// Dot
        /// </summary>
        public Boolean? Dot { get; set; }

        /// <summary>
        /// TabHidden
        /// </summary>
        public Boolean? TabHidden { get; set; }

        /// <summary>
        /// ActiveMenu
        /// </summary>
        public String ActiveMenu { get; set; }

        /// <summary>
        /// DynamicNewTab
        /// </summary>
        public Boolean? DynamicNewTab { get; set; }

        /// <summary>
        /// PermissionCode
        /// </summary>
        public String PermissionCode { get; set; }

        /// <summary>
        /// NeedPermission
        /// </summary>
        public Boolean NeedPermission { get; set; }

        /// <summary>
        /// DisplayOrder
        /// </summary>
        public Int32 DisplayOrder { get; set; }

    }
}